package hollycrm.com.libuip;

import okhttp3.HttpUrl;

/**
 * Created by aber on 2017/4/11.
 */

public class UIPUserConfig {

    private HttpUrl httpServer;

    private boolean isProxy = false;

    private String workNo;

    private String agentDn;

    public UIPUserConfig(String workNo, String agentDn, String host, int port, boolean isProxy) {
        this.httpServer = new HttpUrl.Builder().scheme("http").host(host).port(port)
                .build();
        this.isProxy = isProxy;
        this.workNo = workNo;
        this.agentDn = agentDn;
    }

    public HttpUrl getServer() {
        return httpServer;
    }

    public boolean isProxy() {
        return isProxy;
    }

    public String getWorkNo() {
        return workNo;
    }

    public String getAgentDn() {
        return agentDn;
    }
}
